﻿using System;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.ComponentModel;
using DB;

public class ScoreEdit : IScoreEdit
{
    string sql_str = "";
    DataAccess da = new DataAccess();
    public bool singleAdd(string stdid, string exzamid, string score)
    {
        sql_str = "exec score_singleAdd " + stdid + "," + exzamid + "," + score;
        da.RunSql(sql_str);
        return true;
    }
    public bool addScorelist(string exzamid, string scorelist)
    {
        return true;
    }

    public void multiAdd()
    {
        throw new NotImplementedException();
    }
}
